package com.entity;

import java.io.Serializable;

public class Consumer implements Serializable {

	private  int  cid;
	private  String cname;
	private  String cpwd;
	private  String ctel;
	private  String caddress;
	
	public Consumer() {
		super();
	}
	
	public Consumer(int cid) {
		super();
		this.cid = cid;
	}


	public Consumer(int cid, String cname, String cpwd, String ctel, String caddress) {
		super();
		this.cid = cid;
		this.cname = cname;
		this.cpwd = cpwd;
		this.ctel = ctel;
		this.caddress = caddress;
	}


	public int getCid() {
		return cid;
	}

	public void setCid(int cid) {
		this.cid = cid;
	}

	public String getCname() {
		return cname;
	}

	public void setCname(String cname) {
		this.cname = cname;
	}

	public String getCpwd() {
		return cpwd;
	}

	public void setCpwd(String cpwd) {
		this.cpwd = cpwd;
	}

	public String getCtel() {
		return ctel;
	}

	public void setCtel(String ctel) {
		this.ctel = ctel;
	}

	public String getCaddress() {
		return caddress;
	}

	public void setCaddress(String caddress) {
		this.caddress = caddress;
	}

	@Override
	public String toString() {
		return "Consumer [cid=" + cid + ", cname=" + cname + ", cpwd=" + cpwd + ", ctel=" + ctel + ", caddress="
				+ caddress + "]";
	}

}
